package jonggyuni.basic;

import java.util.Scanner;

public class J08_Num64 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int num[] = new int[9];
		
		System.out.print("9개의 숫자를 입력하세요 : ");
		
		for(int i=0; i<9; i++){
			num[i] = sc.nextInt();
		}
		System.out.println("출력값");
		for(int i=0; i<9; i++){
			System.out.print(num[i]+"");
			if((i+1)%3==0){
				System.out.println("");
			}
			else
				System.out.print(", ");
		}
		
		sc.close();
	}

}
